package ls.ch03.demo.demo5;

import ls.ch03.demo.demo1.NewsDao;

/**
 * @author ls
 * @Date 创建时间:2022/4/8 11:14
 * 描述:
 */

public class MySqlDaoFactory implements AbstractFactory {
    @Override
    public NewsDao getInstance() {
        return new NewsDaoMySqlImpl();
    }
}
